import moment from "moment"

export const dateFormat = (data)=>{
    data = new Date(data)
    return moment(data).format('YYYY-MM-DD')
}